Skip to content

Fix string escaping in flake.nix regex#3168

Merged
Techatrix merged 1 commit intozigtools:masterfrom
lunagl:push-wpvzplnqsqqz
Apr 4, 2026
Merged

Fix string escaping in flake.nix regex#3168
Techatrix merged 1 commit intozigtools:masterfrom
lunagl:push-wpvzplnqsqqz

Conversation

@lunagl
Copy link
Copy Markdown
Contributor

@lunagl lunagl commented Apr 2, 2026

\. in a Nix string is interpreted as an invalid escape sequence,
which currently ignores the backslash and evaluates simply to ..

This is not the desired behavior, and also a deprecated features of Nix.
The recent release of Lix 2.95 introduced a warning for these cases.

`\.` in a Nix string is interpreted as an invalid escape sequence,
which currently ignores the backslash and evaluates simply to `.`.

This is not the desired behavior, and also a deprecated features of Nix.
The recent release of Lix 2.95 introduced a warning for these cases.
@Techatrix Techatrix merged commit 4280018 into zigtools:master Apr 4, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants